//新增会员的store

import axios from 'axios'
import http from '../../../http/http'
import * as URL from '../../../http/api'

const state = {

};

const actions = {
    addMember({commit},obj){
        delete obj.checkMemberPassword;
        console.log(JSON.stringify(obj));
        return axios({
            url:'/addMember',
            method:'post',
            data:JSON.stringify(obj),
        }).then(res=>{
            return res.data;
        });
    }

};

const mutations = {

};

export default{
    state,
    actions,
    mutations
}